package com.ch09;

/**
 * @ClassName LifeTeacher
 * @Description TODO
 * @Author Kx
 * @Date 2025/4/17 16:14
 * @Version 1.0
 */
public class LifeTeacher extends Teacher{
    @Override
    public void lessons() {
        System.out.println("上生活课");
    }

    @Override
    public void homework() {
        System.out.println("布置生活作业");
    }

    /***
     * @author: kx
     * @date: 2025/4/17 16:15
     * @return boolean : 是否钩住钩子
     * @description: 重写钩子方法
    */
    @Override
    public boolean hock() {
        return false;
    }
}
